package teacher.stu.system.service.impl;

import teacher.stu.system.dao.impl.StudentDaoImpl;
import teacher.stu.system.domain.Student;
import teacher.stu.system.service.StudentService;

/*
    接口的实现类
 */
public class UserServiceImpl implements StudentService {
    public static final StudentDaoImpl daoImpl = new StudentDaoImpl();
    @Override
    public boolean add(Student student) {
        return false;
    }

    @Override
    public boolean delete(String id) {
        return false;
    }

    @Override
    public boolean update(Student student) {
      return daoImpl.update(student);
    }

    /**
     * 查询所有学生
     */
    @Override
    public void findAll() {
        daoImpl.findAll();
    }
}
